package com.zhku.shoppingspringboot.service;

import com.zhku.shoppingspringboot.pojo.entity.Goods;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zhku.shoppingspringboot.pojo.vo.CategoryVO;
import com.zhku.shoppingspringboot.pojo.vo.GoodsVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jieeee
 * @since 2025-01-02
 */
public interface IGoodsService extends IService<Goods> {

    public com.zhku.shoppingspringboot.pojo.entity.goodsData.Goods getOneGoods(Long id);

    List<GoodsVO> getGoodsByCategoryId(Integer categoryId);

    List<GoodsVO> searchAll(String keyword);


}
